*{
  margin: 0;
  padding: 0;
}
/* You can add global styles to this file, and also import other style files */
html {
  font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif!important; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */

}

body {
  margin: 0;
  overflow: auto;
  font-size: 14px!important;
  color: #333!important;
}

a {
  text-decoration: none!important;
}

a:hover {
  text-decoration: none!important;
  cursor: pointer!important;
}

ul {
    list-style: none;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

select:focus {
  outline: none;
}

input:focus {
  outline: none;
}

tbody td img{
    width: 100px;
    height: 100px;
}

label {
    margin-right: 10px;
    font-size: 14px;
    font-family: MicrosoftYaHei;
    color: #333333;
    font-weight: normal!important;
}

.left-in {
  float: left
}

.right-in {
  float: right;
}

.clearFix {
    overflow: hidden;
}

/*bootstrap表单样式调整*/
.form-control {
  display: inline-block!important;
}

 /*动态组件样式*/
.main{
  padding: 20px 30px 0 30px;
}

.tab-content>.active {
  overflow: hidden;
}

.action-btn {
  display: inline-block;
  margin: 0 5px;
  padding: 0 20px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border: 1px solid #279f00;
  border-radius: 4px;
  font-size: 12px;
  background: #ffffff;
  color: #279f00;
}

.confirm-btn {
  display: inline-block;
  margin: 0 5px;
  width: 106px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border: none;
  border-radius: 4px;
  background: #279f00;
  color: #ffffff;
}

.ant-btn {
  height: 30px;
}

.ant-btn:focus, .ant-btn:hover {
  color: #279f00!important;
  border-color: #279f00!important;
}

button {
  margin: 0 5px;
  font-size: 12px;
  outline: 0;
}

/*定制菜单栏样式*/
.panel-default {
  color: #ffffff;
}

.panel-group .panel {
  border-top: none;
  border-right: none;
  color: #000000;
  box-shadow: unset;
}

.panel-default>.panel-heading {
  background: #ffffff!important;
  padding: 20px 40px 22px 40px;;
}

.panel-group .panel+.panel {
  margin-top: 0!important;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body  {
  padding: 0;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body div {
  padding:10px 10px 10px 30px;
  font-size: 16px;
  color: #999999;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body div:hover {
  cursor: pointer;
  background: rgba(39,159,0,0.3);
  color: #279f00;
}

.second-actived {
  background: rgba(39,159,0,0.3);
  color: #279f00!important;
}
/*
** 补充的样式调整
*/

/*tab选项卡背景色*/
.nav-tabs {
  margin-top: -1px;
  background: #fff!important;
}

.nav-tabs>li {
  margin-top: 1px;
}

.glyphicon.glyphicon-remove-circle:hover {
  cursor: pointer;
}

/*日期插件*/
.laydate_body .laydate_bottom {
  height: 32px;
}

.laydate_body .laydate_top {
  height: 36px;
}

.laydate_body .laydate_ym {
  height: 26px;
}

.laydate_body .laydate_y .laydate_yms ul li {
  width: 59px;
}

/*grid样式*/
.modal-body .grid-header {
  min-width: auto;
}

.grid-header {
  display: flex;
  justify-content: space-around;
  overflow: hidden;
  width: 100%;
  min-width: 930px;
  height: 40px;
  background: #f4f4f4;
  color: #999999;
}

.modal-body .grid-header .grid-title{
  width: 4.5%!important;
}

.grid-header .grid-title {
  display: table-cell;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.modal-body .grid-container {
  min-width: auto;
}

.grid-container {
  margin-bottom: 20px;
  width: 100%;
  min-width: 930px;
}

.grid-container .grid-item:hover {
  background:rgba(39,159,0,0.08);
}

.grid-container .grid-item:focus {
  background:rgba(39,159,0,0.08);    
}

.grid-container .grid-item {
  overflow: hidden;
  width: 100%;
  font-size: 0;
  box-shadow:inset 0 -1px 0 0 #e4e4e4;
}

.grid-container .grid-itemInfo {
  display: table-cell;
  vertical-align: middle;
  padding: 24px 0;
  word-break: break-all;
  font-size: 14px;
  text-align: center;
}

.grid-container .grid-itemInfo .grid-itemInfoImg {
  margin: 0 auto;
  width: 80px;
  height: 80px;
}

.grid-container .grid-itemInfo .grid-itemInfoImg img {
  width: 100%;
  height: 100%;
}

/*modal样式*/
.modal-body {
  max-height: 700px;
  overflow: auto;
  padding: 20px 30px!important;
}

.form-control.inp {
    display: inline-block;
    width: 272px;
    height: 30px;
}

.form-control.inp.sel {
    height: 32px;
}

.modal-line-title {
    display: inline-block;
    width: 58px;
    height: 20px;
    margin-right: 8px;
}

.modal-line {
    margin-bottom: 10px;
}

.modal-line input[type=file] {
  display: inline-block;
}

.modal-line .modal-img {
  display: inline-block;
  width: 100px;
  height: 100px;
}

.modal-line .modal-img img {
  width: 100%;
  height: 100%;
}

.modal-line-add {
    margin-top: 10px;
}

/*上传图片插件*/
input[type="file"] {
  width: 88px;
}

.btn-invalid {
  color: #999999;
  border: 1px solid #999999;
}

a.action-btn {
    position: relative;
    display: inline-block;
    margin-bottom: -10px;
    height: 30px;
    overflow: hidden;
}

.inputFile {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.inputFile:hover {
    cursor: pointer;
}

/* 覆盖原来tab的删除icon */
.bs-remove-tab {
  position: relative!important;
  top: 1px!important;
  display: inline-block!important;
  font-family: 'Glyphicons Halflings'!important;
  font-style: normal!important;
  font-weight: 400!important;
  line-height: 1!important;
  font-size: 0!important;
}

.bs-remove-tab:before {
  content: "\E088"!important;
  margin-left: 3px;
  font-size: 14px!important;
}

/*表格、分页插件定制  */
.pagination>.active>a,.pagination>.active>a:hover {
    background: #279f00!important;
    border-color: #279f00!important;
}

.nav-tabs {
    margin-left: 10px;
}

.modal {
    z-index: 999!important;
}

.modal-backdrop {
    z-index: 990!important;
}

.modal .nav-tabs {
    margin-left: 0;
}

.nav>li>a {
    color: #999999!important;
}

.nav>li.disabled>a:focus, .nav>li.disabled>a:hover {
    cursor: not-allowed!important;
}

.pagination>li>a, .pagination>li>span {
    color: #333333!important;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    color: #fff!important;
}

.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
    color: #777!important;
    cursor: not-allowed!important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border-top: 2px solid #279f00!important;
    color: #279f00!important;
}

.gridItemCheck {
    background:rgba(39,159,0,0.08);
}

/* ng-zorro ui定制 */
nz-range-picker .ant-calendar-picker {
  width: 365px!important;
}

.ant-btn.ant-btn-primary {
  background-color: #279f00!important;
  border-color: #279f00!important;
  color: #fff!important;
}